]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
a11y: set a label_actor for the summary items on the message tray
authorAlejandro Piñeiro <apinheiro@igalia.com>
Fri, 24 Aug 2012 14:52:43 +0000 (16:52 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 27 Aug 2012 08:43:35 +0000 (10:43 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=677229

js/ui/messageTray.js

index a2729d3eec1e731edef0492b07f1545228fd2308..b9f190ad45d824860fe221ce129b4ceddaee3279 100644 (file)
@@ -1186,7 +1186,7 @@ const SummaryItem = new Lang.Class({
                                      button_mask: St.ButtonMask.ONE | St.ButtonMask.TWO | St.ButtonMask.THREE,
                                      can_focus: true,
                                      track_hover: true });
-
+        this.actor.label_actor = new St.Label({ text: source.title });
         this._sourceBox = new St.BoxLayout({ style_class: 'summary-source' });
 
         this._sourceIcon = source.getSummaryIcon();